
import '../../net/fm_base_net_domain.dart';
import '../../net/fm_http_request.dart';
import '../../net/fm_net_param_manager.dart';

class FMLoginCaptchaApi extends FMBaseNetDomain {

  String phone;

  FMLoginCaptchaApi({
    required this.phone
  });

  @override
  String requestUrl() {
    return FMNetParamManager().getDefaultUrlPath("/directs/hurrah");
  }

  @override
  FMHttpMethodType methodType() {
    return FMHttpMethodType.get;
  }

  @override
  Map<String, dynamic> requestParams() {
    return {
      "bold" : phone
    };
  }
}